package com.cn.config;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * description: SmsCodeTemplateConfig <br>
 * date: 23.11.29 10:46 <br>
 * author: cn_yaojin <br>
 * version: 1.0 <br>
 */
@Setter
@Getter
@Accessors(chain = true)
@ApiModel(value = "短信模板配置")
@Configuration
@ConfigurationProperties(prefix = "sms.template")
public class SmsCodeTemplateConfig {

    /**
     * 短信验证码
     */
    @ApiModelProperty(value = "短信验证码")
    private String codeTemplate;

    /**
     * 新用户注册成功通知
     */
    @ApiModelProperty(value = "新用户注册通知")
    private String newUserNotify;
}
